const clearObj = { // 对象中每个对象清空
  install: (Vue) => {
    Vue.prototype.$clearObj = (data) => {
      for (let item in data) {
        data[item] = ''
      }
    }
  }
}

export default clearObj
